package com.cndw.kungfu.domain;

import com.cndw.kungfu.ext.StringProcesser;

/**
 * 系统脚本id
 * @author fantadust
 *
 */
public class Script {
	/**
	 * 编号
	 */
	private int id;
	
	private String name;
	/**
	 * 参数名称
	 */
	private String parameters;
	/**
	 * 窗口名称
	 */
	private String windowName;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getParameters() {
		return parameters;
	}
	public void setParameters(String parameters) {
		this.parameters = parameters;
	}	
	public String getWindowName() {
		return windowName;
	}
	public void setWindowName(String windowName) {
		this.windowName = windowName;
	}
	
	
	public int[] getParametersLongArr(){
		
		return StringProcesser.toIntArray(parameters.trim());
	}
	
	
	
	
	
	
	
	
}
